import request from '@/utils/request'

// 获取数据table
export const getListApi = (data: any) => {
    return request({
        url: '/data/webserviceDataRegister/list',
        method: 'post',
        data
    })
};

// 新增数据table
export const addListApi = (data: object) => {
    return request({
        url: '/data/webserviceDataRegister/add',
        method: 'post',
        data
    })
};

// 编辑数据table
export const editListApi = (data: object) => {
    return request({
        url: '/data/webserviceDataRegister/edit',
        method: 'post',
        data
    })
};

// 删除数据table
export const delListApi = (ids: string) => {
    return request({
        url: '/data/webserviceDataRegister/remove',
        method: 'post',
        data: { ids }
    })
};